var express = require("express");
var mustache = require("mustache-express");
var site = require("./routes/site");

var app = express();

app.use(express.static("public"));

app.set("views", __dirname + "/views");

app.engine("html", mustache());
app.set("view engine", "html");

app.get("/", site.index);
app.get("/index", site.index);
app.get("/exit", site.exit);

app.listen(3000);
console.log("Server is listening at http://localhost:3000/");